#!/bin/sh

. ~/.bashrc

cd /home/hadoop/mylib

myDate='18-09-26'

#/usr/local/hadoop/bin/hadoop jar ~/mylib/kpistats-1.0.0-jar-with-dependencies.jar com.think.UvStatistics -d $myDate

pvShell='/usr/local/hadoop/bin/hadoop jar ~/mylib/kpistats-1.0.0-jar-with-dependencies.jar com.think.PvAutoStatistics -d '$myDate;
echo $pvShell;
eval $pvShell;
ipShell='/usr/local/hadoop/bin/hadoop jar ~/mylib/kpistats-1.0.0-jar-with-dependencies.jar com.think.UipAutoStatistics -d '$myDate;
echo $ipShell;
eval $ipShell;


/usr/local/hadoop/bin/hadoop jar ~/mylib/kpistats-1.0.0-jar-with-dependencies.jar com.think.KpiStatistics -d $myDate
